import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router/index";
import SvgIcon from "./components/SvgIcon.vue";
import "./assets/iconfont/iconfont.js";
import "./assets/iconfont/iconfont.css";
//引入地图
import OpenlayerMap from "@/components/OpenlayerMap/index.vue";
import AMap from "@/components/Amap/index.vue";
import pinia from "./stores/index.js";

createApp(App)
  .component("SvgIcon", SvgIcon)
  .component('OpenlayerMap',OpenlayerMap)
  .component('AMap',AMap)
  .use(router)
  .use(pinia)
  .mount("#app");
